The procedure to extend an extended or logical partition with fdisk starts with deleting both partitions. Then, we recreate the partition with the desired endpoint.
Refer to the following sections of our Red Hat Enterprise Linux (RHEL) documentation on how to resize a partition. Resizing partitions is documented in the Storage Guides for Red Hat Enterprise Linux (RHEL).
I need to increase the partition using the empty space located before the partition starts without data loss. As far as I know to resize the partition and to leave data intact one should start the new partition from the same disk sector as before.
It is important that you backup your content before you attempt to change size of partition. You can change size of partition (non-lvm) only on the last partition on the storage device with unallocated space.